function F_Open_dialog() {
	document.getElementById("btn_file").click();
//	alert("22");
}

$(document).ready(
	function() {
	/*	alert("1");*/
		$.ajax({
			url: "teacher_file.json", 
			type: "GET",
			async: true,
			data: {
			},
			dataType: "json",
			success: function(data) {
				alert("2");
				if (data.course && data.code == 200) {
					$("#course_infor tr").children().remove();
					var $tab = $('<td>课程名：</td><td>' + data.course.coursename 
						+ '</td><td>授课教师：</td><td>' + data.course.courseteacher 
						+ '</td><td>教学周：</td><td>' + data.course.startweek + '~' + data.course.endweek 
						+ '</td><td>上课时间：</td><td>' + data.course.starttime + '~' + data.course.endtime 
						+ '</td><td>上课地点：</td><td>' + data.course.place + '</td>');
					$("#course_table").append($tab);
				}else{
					$("#course_infor tr").children().remove();
					alert("未找到符合条件的信息，请重新输入查询条件！");
				};
			},
			error: function() {
			},
		});
	});

function edit_course_infor() {
	$("#class_infor").attr("disabled",false);
	$("#keep_classInfo").attr("hidden",false);
};